#ifndef LIFEDROP_H
#define LIFEDROP_H

#include "defines.h"
#include "Creature.h"

#define DEFAULT_LIFETIME 100000

class LifeDrop
{
private:
	unsigned int m_lifeTime;
	signed int m_iXPos;
	signed int m_iYPos;
	Creature * m_pCreature;
	bool m_bAlive;
	int m_spriteNr;
	
public:
	LifeDrop();
	LifeDrop(signed int xPos, signed int yPos, Creature * theCreature, int spriteNr);
	~LifeDrop();
	void Tick();
	void Die();
	bool isAlive(){return m_bAlive;}
	int GetSpriteNr(){return m_spriteNr;}
};

#endif // LIFEDROP_H
